<include file="Public:header"/>
<include file="adMovie"/>
<include file="Public:slider"/>
<div class="w_r">
    <include file="Public:loginBox"/>
    <div class="ant box_shadow mt10">
        <div class="tit">
            <span class="sch2">{:L('_ANNOUNCE_')}</span>
            <span class="sch5">Notice</span>
            <a href="{:U('/bulletin/list')}" class="more">{:L('_MORE_')}</a></div>
        <ul class="ant_list">
            <foreach name="bulletins" item="bulletin">
                <li>
                    <a href="{:U('/bulletin/detail/'.$bulletin['id'])}">{$bulletin.title}</a>
                </li>
            </foreach>
        </ul>
    </div>
</div>
<div class="fn-clear"></div>
<notempty name="mallDis">
    <div class="wp_tit mt20 mb12">
        <span class="navlist navsale"></span>

        <div class="tinynp">
            <a class="buttons prev" href="javascript:;"></a>
            <a class="buttons next" href="javascript:;"></a>
        </div>
    </div>
    <div id="slider-code">
        <div class="viewport">
            <ul class="overview b_list">
                <foreach name="mallDis" item="m">
                    <li>
                        <div class="tp">
                            <a href="{:U('/discount/'.$m['itemid'])}">
                                <img src="{$m.image_url}" alt="{$m.mall_name}" style="height: 150px; width: 194px;"/>
                            </a>
                        </div>
                        <div class="blogb"></div>
                        <div style="display: none;" class="rdgb"></div>
                        <div class="discon">
                            <div class="adds">{$m.mall_name}</div>
                        </div>
                    </li>
                </foreach>
            </ul>
        </div>
    </div>
    <div class="fn-clear"></div>
</notempty>
<div class="wp_tit mt20 mb12 jmt20">
    <span class="navlist navdis"></span>
</div>
<div class="dislist box_shadow">
    <ul class="dis">
        <foreach name="dis" item="d">
            <li><a href="{$d.dis_url}"><span>[{$d.name}]</span>{$d.title}</a></li>
        </foreach>
    </ul>
</div>
<div class="wp_tit mt20 mb12">
    <a href="{:U('/malls')}">
        <span class="navlist navmalls"></span>
    </a>

    <div class="tiny">
        <foreach name="bus" item="b">
            <a href="javascript:;" data-bid="{$b.id}" class="s">{$b.name}</a>
        </foreach>
    </div>
</div>
<div id="hmalls" class="mt10"></div>
<div class="moremall">
    <a href="javascript:;" class="more">展开更多商场↓</a>
</div>
<include file="Public:footer"/>
<script type="text/javascript">
    $(function () {
        $('#hmalls').hmall();
        $(".b_list>li").ihover();
    });
    var movie = $("#adMovie");
    var pic1 = $(movie.find("a").get(0));
    var pic2 = $(movie.find("a").get(1));

    pic2.css("display", "none");
    movie.slideDown("slow", function () {
        window.setTimeout(function () {
            movie.slideUp("slow", function () {
                pic1.css("display", "none");
                pic2.css("display", "");
                movie.slideDown("slow", function () {
                });
            })
        }, 3000);
    });
</script>